{extend name="public:base"/}


{block name="title"}新增物流货运{/block}
{block name="style"}{/block}

{block name="main"}

<section class="content" xmlns="http://www.w3.org/1999/html">
    <div class="row">

        <div class="col-md-12">

            <div class="row">
                <div class="col-lg-12">
                    <div class="box">
                        <div class="box-header with-border">
                            <h3 class="box-title">新增物流货运</h3>
                        </div>
                        <form  id="pt_form" method="post">
                            <div class="box-body">

                                <div class="clearfix"></div>

     
                                <div class="form-group required">
                                    <div class='col-sm-2 text-right'>
                                        <label for="shipping_code" class="control-label Validform_label" >快递代号</label>
                                    </div>
                                    <div class='col-sm-10'>
                                        <input type="text" id="shipping_code" class="form-control" name="shipping_code" placeholder="请输入快递代号" datatype="s2-20" errormsg="快递代号超出长度范围">
                                        <div class="help-block"><a href="https://www.ickd.cn/api/list.html" target="_blank">参考查询编码</a></div>
                                    </div>
                                </div>
          
                                <div class="form-group required">
                                    <div class='col-sm-2 text-right'>
                                        <label for="shipping_name" class="control-label Validform_label" >快递名称</label>
                                    </div>
                                    <div class='col-sm-10'>
                                        <input type="text" id="shipping_name" class="form-control" name="shipping_name" placeholder="请输入快递名称" datatype="s2-120"  errormsg="快递名称超出长度范围">
                                        <div class="help-block"></div>
                                    </div>
                                </div>
          
                                <div class="form-group ">
                                    <div class='col-sm-2 text-right'>
                                        <label for="shipping_desc" class="control-label Validform_label" >描述</label>
                                    </div>
                                    <div class='col-sm-10'>
                                        <input type="text" id="shipping_desc" class="form-control" name="shipping_desc" placeholder="请输入描述" datatype="s2-255" ignore="ignore"  errormsg="描述超出长度范围">
                                        <div class="help-block"></div>
                                    </div>
                                </div>


                            </div>
                            <div class="box-footer text-center">
                                <button class="btn btn-primary" type="submit">保存</button>
                                <span class="btn btn-white" onclick="history.go(-1)">返回</span>
                            </div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
</section>
{/block}

{block name="js"}
<script>

    var validate = validator('#pt_form');

</script>
{/block}